package pactera.tf.service;


import org.springframework.stereotype.Service;

import pactera.tf.dataobj.ChatMsgDO;
import pactera.tf.mapper.ChatMsgMapper;

import java.util.List;

@Service
public interface ChatMsgService {
	/**
	 * 
	
	 * <p>Title: InsertChatMsg</p>  
	
	 * <p>Description:插入聊天信息 </p>  
	
	 * @param chatMsg
	 */
     void insertChatMsg(ChatMsgDO chatMsg);
     /**
      * 
     
      * <p>Title: LookTwoUserMsg</p>  
     
      * <p>Description:查看两个好友间的聊天记录 </p>  
     
      * @param chatMsg
      * @return
      */
     List<ChatMsgDO> lookTwoUserMsg(ChatMsgDO chatMsg);
}
